<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2020/1/14
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="user/anno/requestParams" method="post">
<input type="text" name="name"/><br>
<input type="submit" value="注解RequestParam"/>
</form>
<br>
<form action="user/anno/requestBody" method="post">
<input type="text" name="password"/><br>
    <%--    如果是文件需要申明contentType，这里只做测试--%>
    <input type="file" name="file"/><br>
    <input type="submit" value="注解RequestBody"/>
</form>
<input type="text" name="name"/><br>
<br>
<a href="user/anno/pathVariable/999">注解PathVariable</a><br>
<a href="user/anno/testRequestHeader">注解RequestHeader</a><br>
<a href="user/anno/testCookieValue">注解CookieValue</a><br>
<form action="user/anno/testModelAttribute" method="post">
    <input type="text" name="name"/><br>
    <input type="submit" value="注解testModelAttribute"/>
</form>
<br>
<a href="user/anno/testSessionAttributes">testSessionAttributes</a>
<a href="user/anno/getSessionAttributes">getSessionAttributes</a>
<a href="user/anno/delSessionAttributes">delSessionAttributes</a>
</body>
</html>
